﻿using System;

namespace Fuse8.DomainFramework.CacheService
{
    /// <summary>
    /// Cache options for repository
    /// </summary>
    [Serializable]
    public enum DataRepositoryCacheOptions
    {
        /// <summary>
        /// No caching
        /// </summary>
        NoCache = 0,

        /// <summary>
        /// Partial caching - cache only entities without collections, retrived via Find methods
        /// </summary>
        PartialCache = 1,

        /// <summary>
        /// Cache all results
        /// </summary>
        FullCache = 2
    }
}
